package cn.tworice.admin.dao;

import cn.tworice.common.entity.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentDao {
    List<Student> queryList(int i, Integer pageSize);

    Integer queryTotal();

    void insertStudent(Student student);

    void updateStudent(Student student);

    void del(String id);

    Student queryById(String id);
}
